﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WordService.Model
{
    /// <summary>
    /// 作者对象模型
    /// </summary>
    public sealed class Author
    {
        private Int64 _ID;
        /// <summary>
        /// 作者ID号
        /// </summary>
        public Int64 ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        private String _Name;
        /// <summary>
        /// 作者姓名
        /// </summary>
        public String Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        
        private Int32 _Sequence;
        /// <summary>
        /// 作者排序
        /// </summary>
        public Int32 Sequence
        {
            get { return _Sequence; }
            set { _Sequence = value; }
        }
        private Article _Article;
        /// <summary>
        /// 对应的文章模型
        /// </summary>
        public Article Article
        {
            get { return _Article; }
            set { _Article = value; }
        }

        private IList<Institution> _Institutions;
        /// <summary>
        /// 作者对应的机构列表
        /// </summary>
        public IList<Institution> Institutions
        {
            get { return _Institutions; }
            set { _Institutions = value; }
        }

        private double _RightRate;
        /// <summary>
        /// 作者权值
        /// </summary>
        public double RightRate
        {
            get { return _RightRate; }
            set { _RightRate = value; }
        }
        /// <summary>
        /// 作者总共出现的次数
        /// </summary>
        private Int64 _TotalCount;

        public Int64 TotalCount
        {
            get { return _TotalCount; }
            set { _TotalCount = value; }
        }
    }
}
